Embedded Rust is ready; high-quality, production software is being written on industry-standard bare metal microcontrollers. The community has produced so much amazing documentation focusing on the initial stages of using Rust on embedded hardware. With this series I want to move somewhat beyond that, from getting started to more immediate embedded Rust.
We’re going to use Rust to code up a device that takes advantage of multiple hardware peripherals including a display and a radio module. It will be able to broadcast and receive morse code messages using low-power, long range radio (LoRaWAN) as well as display them on an ePaper screen.
The plan is to first build up a prototype running on a discovery board, then design a custom PCB and finally, a custom case to house everything.
This first few posts will jump right in to initializing and using the peripherals on the discovery board, using the radio and the display, and taking advantage of interrupts and timers. We’ll be using a B-L072Z-LRWAN1 discovery board with a 2.9-inch, three-color ePaper display from Waveshare.